<!DOCTYPE html>
<html>
<head>
<title>01_IDEA2018之概述、下载、安装、激活、启动</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */
/* Author: Nicolas Hery - http://nicolashery.com */
/* Version: b13fe65ca28d2e568c6ed5d7f06581183df8f2ff */
/* Source: https://github.com/nicolahery/markdownpad-github */

/* RESET
=============================================================================*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

/* BODY
=============================================================================*/

body {
  font-family: Helvetica, arial, freesans, clean, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}

body>*:first-child {
  margin-top: 0 !important;
}

body>*:last-child {
  margin-bottom: 0 !important;
}

/* BLOCKS
=============================================================================*/

p, blockquote, ul, ol, dl, table, pre {
  margin: 15px 0;
}

/* HEADERS
=============================================================================*/

h1, h2, h3, h4, h5, h6 {
  margin: 20px 0 10px;
  padding: 0;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}

h1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
  font-size: inherit;
}

h1 {
  font-size: 28px;
  color: #000;
}

h2 {
  font-size: 24px;
  border-bottom: 1px solid #ccc;
  color: #000;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  color: #777;
  font-size: 14px;
}

body>h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h4:first-child, body>h5:first-child, body>h6:first-child {
  margin-top: 0;
  padding-top: 0;
}

a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
  margin-top: 0;
  padding-top: 0;
}

h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
  margin-top: 10px;
}

/* LINKS
=============================================================================*/

a {
  color: #4183C4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* LISTS
=============================================================================*/

ul, ol {
  padding-left: 30px;
}

ul li > :first-child, 
ol li > :first-child, 
ul li ul:first-of-type, 
ol li ol:first-of-type, 
ul li ol:first-of-type, 
ol li ul:first-of-type {
  margin-top: 0px;
}

ul ul, ul ol, ol ol, ol ul {
  margin-bottom: 0;
}

dl {
  padding: 0;
}

dl dt {
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  padding: 0;
  margin: 15px 0 5px;
}

dl dt:first-child {
  padding: 0;
}

dl dt>:first-child {
  margin-top: 0px;
}

dl dt>:last-child {
  margin-bottom: 0px;
}

dl dd {
  margin: 0 0 15px;
  padding: 0 15px;
}

dl dd>:first-child {
  margin-top: 0px;
}

dl dd>:last-child {
  margin-bottom: 0px;
}

/* CODE
=============================================================================*/

pre, code, tt {
  font-size: 12px;
  font-family: Consolas, "Liberation Mono", Courier, monospace;
}

code, tt {
  margin: 0 0px;
  padding: 0px 0px;
  white-space: nowrap;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
}

pre>code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background: transparent;
}

pre {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}

pre code, pre tt {
  background-color: transparent;
  border: none;
}

kbd {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #DDDDDD;
    background-image: linear-gradient(#F1F1F1, #DDDDDD);
    background-repeat: repeat-x;
    border-color: #DDDDDD #CCCCCC #CCCCCC #DDDDDD;
    border-image: none;
    border-radius: 2px 2px 2px 2px;
    border-style: solid;
    border-width: 1px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 10px;
    padding: 1px 4px;
}

/* QUOTES
=============================================================================*/

blockquote {
  border-left: 4px solid #DDD;
  padding: 0 15px;
  color: #777;
}

blockquote>:first-child {
  margin-top: 0px;
}

blockquote>:last-child {
  margin-bottom: 0px;
}

/* HORIZONTAL RULES
=============================================================================*/

hr {
  clear: both;
  margin: 15px 0;
  height: 0px;
  overflow: hidden;
  border: none;
  background: transparent;
  border-bottom: 4px solid #ddd;
  padding: 0;
}

/* TABLES
=============================================================================*/

table th {
  font-weight: bold;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 6px 13px;
}

table tr {
  border-top: 1px solid #ccc;
  background-color: #fff;
}

table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

/* IMAGES
=============================================================================*/

img {
  max-width: 100%
}
</style>
</head>
<body>
<h1>IDEA2018 之 概述、安装、启动</h1>
<hr />
<blockquote>
<p>作者：康哥</p>
<p>时间：2018-7-10</p>
<p>备注：Windows环境下IDEA的安装</p>
</blockquote>
<hr />
<h2>概述</h2>
<ul>
<li>
<p>IDEA 全称IntelliJ IDEA，是用于Java语言开发的集成环境（也可用于其他语言），IntelliJ在业界被公认为最好的Java开发工具之一，尤其在智能代码助手、代码自动提示、重构、J2EE支持、Ant、JUnit、CVS整合、代码审查、 创新的GUI设计等方面的功能可以说是超常的。IDEA是JetBrains公司的产品，这家公司总部位于捷克共和国的首都布拉格，开发人员以严谨著称的东欧程序员为主。</p>
</li>
<li>
<p>IDEA是 JetBrains 公司的产品，其公司产品还包含：</p>
<ul>
<li>WebStorm：用于开发 JavaScript、HTML5、CSS3 等前端技术</li>
<li>PyCharm：用于开发 python</li>
<li>PhpStorm：用于开发 PHP</li>
<li>RubyMine：用于开发 Ruby/Rails</li>
<li>AppCode：用于开发 Objective - C/Swift</li>
<li>CLion：用于开发 C/C++</li>
<li>DataGrip：用于开发数据库和 SQL</li>
<li>Rider：用于开发.NET</li>
<li>GoLand：用于开发 Go</li>
<li>等</li>
</ul>
</li>
<li>
<p>支持目前主流的技术和框架，擅长于企业应用、移动应用和  Web  应
用的开发</p>
</li>
</ul>
<h2>下载</h2>
<p>官网：<a href="http://www.jetbrains.com/">http://www.jetbrains.com/</a></p>
<ul>
<li>
IDEA 分为两个版本：旗舰版(Ultimate)和社区版(Community)
<ul>
<li>旗舰版收费(限 30 天免费试用)</li>
<li>社区版免费</li>
</ul>
</li>
</ul>
<p>下载步骤：</p>
<p><img src="https://i.imgur.com/HY6KIgm.png" /></p>
<p><img src="https://i.imgur.com/kv9L0nG.png" /></p>
<p><img src="https://i.imgur.com/UqInBfg.png" /></p>
<h2>安装</h2>
<ul>
<li>
<p>双击下载好的exe可执行文件，并点击【next】</p>
<p><img src="https://i.imgur.com/304yUVd.png" /></p>
</li>
<li>
<p>选择需要安装的目录（不建议安装到C盘或者系统盘，不要带有中文路径和特殊字符）,点击【next】</p>
<p><img src="https://i.imgur.com/1TySjVA.png" /></p>
</li>
<li>
<p>查看当前系统的版本位（本机教程是64位）</p>
<p><img src="https://i.imgur.com/Av9g5d4.png" /></p>
</li>
<li>
<p>选择对应的版本即可，其它不需要打钩选中(确认是否与.java、.groovy、.kt 格式文件进行关联，这里也可以选择不关联)，点击【next】</p>
<p><img src="https://i.imgur.com/Xegvvvt.png" /></p>
</li>
<li>
<p>选择需要加载的菜单列表(默认即可)，然后点击【Install】进行初始安装</p>
<p><img src="https://i.imgur.com/0qDMY7K.png" /></p>
</li>
<li>
<p>等待初始化安装进程即可，完毕之后，点击【Finish】,启动工具（可选）</p>
<p><img src="https://i.imgur.com/AvwI2BT.png" /></p>
</li>
<li>
<p>至此，安装完毕</p>
</li>
</ul>
<h2>安装目录结构</h2>
<ul>
<li>
<p>安装后的目录结构说明如下：</p>
<p><img src="https://i.imgur.com/zUl2BEF.png" /></p>
<p><img src="https://i.imgur.com/gFjjU6f.png" /></p>
</li>
<li>
<p>以下为IDEA设置后的配置保存目录，目录有一个特性，如果你删除掉该目录之后，重新启动 IDEA 会再自动帮你生成一个新的默认配置，所以很多时候如果你把 IDEA  配置改坏了，则需要删除该目录，则还原到默认配置</p>
<p><img src="https://i.imgur.com/QD4Oxj2.png" /></p>
<ul>
<li>config： 目录是 IDEA 个性化化配置目录，主要有：自定义的代码模板、自定义的文件模板、自定义的快捷键等设置信息</li>
<li>system： 目录是 IDEA 系统文件目录，主要有：缓存、索引、容器文件输出等</li>
</ul>
</li>
</ul>
<h2>激活、启动</h2>
<h4>方式一</h4>
<ul>
<li>
<p>启动弹出的激活页面，选择‘License Server’，地址输入：http://idea.congm.in</p>
<p><img src="https://i.imgur.com/CeY3pme.png" /></p>
</li>
</ul>
<h4>方式二：</h4>
<ul>
<li>浏览器进入：http://idea.congm.in，然后点击【获取注册码】，并复制注册码。</li>
</ul>
<p><img src="https://i.imgur.com/Hw4geqB.png" /></p>
<p><img src="https://i.imgur.com/RsxQgQx.png" /></p>
<ul>
<li>激活界面，选择Activation code,将复制的注册码，复制到输入框。</li>
<li>进入到电脑的系统盘(一般为C盘)，搜索到host文件(C:\Windows\System32\drivers\etc\hosts)</li>
<li>请将“0.0.0.0 account.jetbrains.com”添加到hosts文件中</li>
</ul>
<p><img src="https://i.imgur.com/H9XUbr3.png" /></p>
<h4>方式三：</h4>
<ul>
<li>官网购买</li>
</ul>
<h4>方式四：</h4>
<ul>
<li>某宝</li>
</ul>
<h2>启动</h2>
<ul>
<li>
<p>然后进入到首页面，至此激活成功。</p>
<p><img src="https://i.imgur.com/q2X7E84.png" /></p>
</li>
</ul>

</body>
</html>
<!-- This document was created with MarkdownPad, the Markdown editor for Windows (http://markdownpad.com) -->
